import { Vue } from 'sprite-vue'
import App from './App.vue'

import api from './api/index.js'
Vue.prototype.$api = api
// router.beforeEach((to, form, next) => {
//   api.cancel()
//   window.document.title = to.meta.title;
//   next();
// })

new Vue({
  render: h => h(App)
}).$mount('#app')
